<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-merid" class="control-label col-xs-12 col-sm-2">{:__('Merid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merid" data-rule="required" class="form-control" name="row[merid]" type="text" value="{$row.merid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-uid" class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="text" value="{$row.uid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" data-rule="required" class="form-control" name="row[phone]" type="text" value="{$row.phone}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-isp" class="control-label col-xs-12 col-sm-2">{:__('Isp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-isp" data-rule="required" class="form-control" name="row[isp]" type="text" value="{$row.isp}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pkg" class="control-label col-xs-12 col-sm-2">{:__('Pkg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pkg" data-rule="required" class="form-control" name="row[pkg]" type="number" value="{$row.pkg}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-iccid" class="control-label col-xs-12 col-sm-2">{:__('Iccid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iccid" data-rule="required" class="form-control" name="row[iccid]" type="text" value="{$row.iccid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-mdn" class="control-label col-xs-12 col-sm-2">{:__('Mdn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mdn" data-rule="required" class="form-control" name="row[mdn]" type="text" value="{$row.mdn}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-goods_id" class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="{$row.goods_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-goods_name" class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_name" data-rule="required" class="form-control" name="row[goods_name]" type="text" value="{$row.goods_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-src_taskid" class="control-label col-xs-12 col-sm-2">{:__('Src_taskid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-src_taskid" class="form-control" name="row[src_taskid]" type="text" value="{$row.src_taskid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-dst_taskid" class="control-label col-xs-12 col-sm-2">{:__('Dst_taskid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dst_taskid" class="form-control" name="row[dst_taskid]" type="text" value="{$row.dst_taskid}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-sale" class="control-label col-xs-12 col-sm-2">{:__('Sale')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sale" class="form-control" name="row[sale]" type="text" value="{$row.sale}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-ctime" class="control-label col-xs-12 col-sm-2">{:__('Ctime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ctime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[ctime]" type="text" value="{$row.ctime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-acttime" class="control-label col-xs-12 col-sm-2">{:__('Acttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-acttime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[acttime]" type="text" value="{$row.acttime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-endtime" class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="{$row.endtime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
